.label-input {
  position: relative;
  .ant-input.require-error {
    border-color: @error-color;
  }
  label {
    padding: 0 2px;
    background: @component-background;
    position: absolute;
    left: 10px;
    top: -6px;
    color: @color-light-3;
    z-index: 2;
    font-size: 12px;
    line-height: 12px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .label-input-txt {
    border: 1px solid @border-color-base;
    background: @component-background;
    width: 100%;
    height: 30px;
    padding: 4px 11px;
    line-height: 1.5;
  }
  .label-txt {
    cursor: pointer;
    border: 1px dotted transparent;
    &:hover {
      border-color: @text-color-secondary;
    }
    &.placeholder {
      color: @color-light-11;
    }
  }
}
